// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import router from './router';
import store from './store';
import iView from 'iview';
import Vuex from 'vuex';
import VueEcharts from 'vue-echarts/components/Echarts';
import './theme/iview/index.less';    // 使用自定义less

Vue.config.productionTip = false;

Vue.use(iView);
Vue.use(Vuex);

Vue.component('charts', VueEcharts);

/* eslint-disable no-new */
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app');
